.class public Lcom/estrongs/android/pop/app/ESRingtoneChooserActivity;
.super Lcom/estrongs/android/pop/app/FileChooserActivity;
.source "ESRingtoneChooserActivity.java"


# instance fields
.field private k:Lcom/estrongs/android/statistics/b;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/FileChooserActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/app/ESRingtoneChooserActivity;->k:Lcom/estrongs/android/statistics/b;

    return-void
.end method


# virtual methods
.method protected a(Lcom/estrongs/fs/g;)Z
    .locals 6

    .line 1
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/n0;->b(Ljava/lang/String;)I

    move-result v0

    .line 2
    invoke-static {v0}, Lcom/estrongs/android/util/n0;->e(I)Z

    move-result v1

    const v2, 0x7f1109c6

    const/4 v3, 0x0

    const/4 v4, 0x1

    if-nez v1, :cond_0

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/FileChooserActivity;->c(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 4
    invoke-static {p0, v2, v4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return v3

    .line 5
    :cond_0
    sget-object v1, Lcom/estrongs/android/pop/j;->h0:Ljava/util/List;

    if-eqz v1, :cond_2

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_2

    const/4 v1, 0x0

    .line 6
    :goto_0
    sget-object v5, Lcom/estrongs/android/pop/j;->h0:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-ge v1, v5, :cond_2

    .line 7
    sget-object v5, Lcom/estrongs/android/pop/j;->h0:Ljava/util/List;

    invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 8
    invoke-static {v5}, Lcom/estrongs/android/util/n0;->c(Ljava/lang/String;)I

    move-result v5

    if-ne v5, v0, :cond_1

    .line 9
    invoke-static {p0, v2, v4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return v3

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_2
    const v1, 0x3002a

    if-eq v0, v1, :cond_3

    const v1, 0x20020

    if-ne v0, v1, :cond_5

    .line 10
    :cond_3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    .line 11
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/fs/impl/media/b;->c(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_4

    return v4

    .line 12
    :cond_4
    invoke-static {p0, v2, v4}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return v3

    :cond_5
    return v4
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/pop/app/FileChooserActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/ESRingtoneChooserActivity;->k:Lcom/estrongs/android/statistics/b;

    const-string v0, "act3"

    const-string v1, "ringstone_choose"

    .line 3
    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method protected onPause()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onPause()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/app/FileChooserActivity;->onResume()V

    return-void
.end method
